package com.xzh.test;

import com.xzh.entity.Name;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class kaoshi_6 {
    public static void main(String[] args) {
        List<Name> list=new ArrayList<>();
        list.add(new Name("李","三","男",20));
        list.add(new Name("李","四","男",20));
        list.add(new Name("张","四","男",20));
        list.add(new Name("李","三","女",20));
        list.add(new Name("李","三","男",19));



    }
}
